// 本文件中的代码由DeepSeek生成
#include "vector/normal.h"

std::vector<double> Normal::vector(int n, double mean, double stddev)
{
    std::random_device rd;
    std::mt19937 gen(rd());
    std::normal_distribution<double> dist(mean, stddev);
    
    std::vector<double> samples(n);
    for (auto& x : samples) x = dist(gen);
    
    return samples;
}